package com.chianghao.qyt.controller.manage_api.vo;

import com.chianghao.qyt.entity.SysOperationRole;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;
import java.util.List;

@Schema
public class SysOperationAdminVo {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "账号")
    private String account;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "角色名称")
    private String roleNames;

    @Schema(description = "角色结合")
    private List<SysOperationRole> roles;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public List<SysOperationRole> getRoles() {
        return roles;
    }

    public void setRoles(List<SysOperationRole> roles) {
        this.roles = roles;
    }
}
